package org.chen.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CrawlerStatistics {
    private Long totalTasks;
    private Long successTasks;
    private Long failedTasks;
    private Long totalArticles;
    private Long todayTasks;
    private Long todayArticles;
    private Map<String, Long> articlesBySource;
    private Map<String, Long> tasksBySource;
}